package com.design.factoryPattern.computerPackage;

public class ComputerFactoryMain {
    public static void main(String[] args) {
        Computer lenovo = new LenovoFactory().createComputer();
        lenovo.printBrand();
        lenovo.printPrice();
        Computer mac = new MacFactory().createComputer();
        mac.printBrand();
        mac.printPrice();
    }
}
